package com.gwm.annotation.room;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.CLASS;

@Documented
@Target(TYPE)
@Retention(CLASS)
public @interface Autograde {
    boolean autograde() default false;   //系统提供的升级策略是否适应所有的数据库升级方案
    Version[] versions() default {};
    @interface Version{
        int startVersion();
        int endVersion();
    }
}
